package cn.itcast.service.company;

import cn.itcast.domain.company.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyService {

    List<Company> findAll();//查询所有
    Company findById(String id);//id查询
    void save(Company company);//新增
    void update(Company company);//更新
    void  delete(String id);//删除

    PageInfo findByPageHelper(Integer pageNum, Integer pageSize);

}
